package my.algo.data;

/**
 * @author fengbo
 * @date 2018/4/16
 */
public interface List<T> extends Iterable<T> {

    boolean add(T element);

    boolean add(T element, int index);

    T get(int i);

    int size();

    T remove(int index);
}
